<a href="{:url('Admin/register')}">添加</a></br>
<a href="{:url('Login/loginout')}">退出登录</a></br>
<table width="100%" border="1" class="table_center">
    <tr class="bg">
        <!--<td><input name="" type="checkbox" class="input_check" onclick="checkAll(this)" value=""></td>-->
        <td>编号</td>
        <td>用户名</td>
        <td>昵称</td>
        <td>邮箱</td>
        <td>电话</td>
        <td>最后登录ip</td>
        <td>数据有效性</td>
        <td>创建时间</td>
        <td>操作</td>
    </tr>
    {volist name='get_lists' id='vo'}
    <tr>
        <!--<td nowrap><input type="checkbox" name="ids" value="{$vo.id}"></td>-->
        <td nowrap>{$vo.id}</td>
        <td nowrap>{$vo.user_name}</td>
        <td nowrap>{$vo.name}</td>
        <td nowrap>{$vo.email}</td>
        <td nowrap>{$vo.mobile}</td>
        <td nowrap>{$vo.join_ip}</td>
        <td nowrap><?php if($vo['active']==1){echo '有效';}else{echo '无效';}?></td>
        <td nowrap><?php echo date('Y-m-d H:i:s',$vo['created_at'])?></td>
        <td nowrap>
            <!--<a href="{:url('Admin/detail',['id'=>$vo.id])}" class="a03">详情</a>-->
            <a href="{:url('Admin/edit',['id'=>$vo.id])}" class="a01">编辑</a>
            <a href="{:url('Admin/delete',['id'=>$vo.id])}" class="a02">删除</a>
            <a href="{:url('Admin/set_role',['id'=>$vo.id])}" class="a02">设置角色</a>
        </td>
    </tr>
    {/volist}

</table>

